﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body style=" text-align:center; vertical-align:middle; font-size: 9pt; font-family: 宋体;">
    <form id="form1" runat="server">
    <div style="background-image: url('pics/loginIndex.jpg'); width:950px; height:554px; margin-top:5px">
        <div style=" position:absolute; top:495px; left:600px">
            <table>
                <tr>
                    <td>
                        用户名：
                    </td>
                    <td>
                        <asp:TextBox ID="textUserName" runat="server" Width="200px" TabIndex=1></asp:TextBox>
                    </td>
                     <td rowspan="2" style="text-align:center;">
                        <asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click" Text="登 录" style="width:60px; height:60px; font-size:12pt; font-family:微软雅黑" />
                    </td>
                </tr>
                <tr>
                    <td>
                        密&nbsp;码：
                    </td>
                    <td>
                        <asp:TextBox ID="textPassword" runat="server" Width="200px" TextMode="Password" TabIndex=2></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="lblLoginMessage" runat="server" Style="color: #FF0000"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ErrorMessage="用户不能为空" ControlToValidate="textUserName"></asp:RequiredFieldValidator>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                            ErrorMessage="密码不能为空" ControlToValidate="textPassword"></asp:RequiredFieldValidator>                 
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
